package com.baizhi.controller;

import com.baizhi.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;


/**
 * Created by Administrator on 2019/4/3.
 */
@Controller
@RequestMapping("/Role")
public class RoleController {
    @Autowired
    private RoleService roleService;



    @RequestMapping("/selectAllRole.do")
    @ResponseBody
    public Map selectAllRole(int rows,int page,String Rolename){
        return roleService.selectAllRole(rows,page,Rolename);
    }



}
